.class final Lcom/wqmobile/sdk/protocol/f;
.super Landroid/os/Handler;


# instance fields
.field private synthetic a:Lcom/wqmobile/sdk/protocol/d;


# direct methods
.method constructor <init>(Lcom/wqmobile/sdk/protocol/d;Landroid/os/Looper;)V
    .locals 0

    iput-object p1, p0, Lcom/wqmobile/sdk/protocol/f;->a:Lcom/wqmobile/sdk/protocol/d;

    invoke-direct {p0, p2}, Landroid/os/Handler;-><init>(Landroid/os/Looper;)V

    return-void
.end method


# virtual methods
.method public final handleMessage(Landroid/os/Message;)V
    .locals 4

    const/4 v3, 0x1

    const/4 v0, 0x0

    iget-object v1, p0, Lcom/wqmobile/sdk/protocol/f;->a:Lcom/wqmobile/sdk/protocol/d;

    iget-object v1, v1, Lcom/wqmobile/sdk/protocol/d;->h:Lcom/wqmobile/sdk/protocol/b;

    sget-object v2, Lcom/wqmobile/sdk/protocol/b;->g:Lcom/wqmobile/sdk/protocol/b;

    if-eq v1, v2, :cond_0

    iget-object v1, p0, Lcom/wqmobile/sdk/protocol/f;->a:Lcom/wqmobile/sdk/protocol/d;

    iget-object v1, v1, Lcom/wqmobile/sdk/protocol/d;->h:Lcom/wqmobile/sdk/protocol/b;

    sget-object v2, Lcom/wqmobile/sdk/protocol/b;->f:Lcom/wqmobile/sdk/protocol/b;

    if-ne v1, v2, :cond_1

    :cond_0
    move v0, v3

    :cond_1
    :try_start_0
    iget-object v1, p0, Lcom/wqmobile/sdk/protocol/f;->a:Lcom/wqmobile/sdk/protocol/d;

    sget-object v2, Lcom/wqmobile/sdk/protocol/b;->a:Lcom/wqmobile/sdk/protocol/b;

    iput-object v2, v1, Lcom/wqmobile/sdk/protocol/d;->h:Lcom/wqmobile/sdk/protocol/b;

    iget-object v1, p0, Lcom/wqmobile/sdk/protocol/f;->a:Lcom/wqmobile/sdk/protocol/d;

    invoke-virtual {v1}, Lcom/wqmobile/sdk/protocol/d;->k()Z

    move-result v1

    if-eqz v1, :cond_2

    iget-object v1, p0, Lcom/wqmobile/sdk/protocol/f;->a:Lcom/wqmobile/sdk/protocol/d;

    invoke-virtual {v1}, Lcom/wqmobile/sdk/protocol/d;->l()Ljava/lang/String;

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/wqmobile/sdk/protocol/f;->a:Lcom/wqmobile/sdk/protocol/d;

    iget-object v0, v0, Lcom/wqmobile/sdk/protocol/d;->i:Lcom/wqmobile/sdk/protocol/a/a;

    monitor-enter v0
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :try_start_1
    iget-object v1, p0, Lcom/wqmobile/sdk/protocol/f;->a:Lcom/wqmobile/sdk/protocol/d;

    iget-object v1, v1, Lcom/wqmobile/sdk/protocol/d;->i:Lcom/wqmobile/sdk/protocol/a/a;

    const/4 v2, 0x1

    invoke-virtual {v1, v2}, Lcom/wqmobile/sdk/protocol/a/a;->b(Z)V

    iget-object v1, p0, Lcom/wqmobile/sdk/protocol/f;->a:Lcom/wqmobile/sdk/protocol/d;

    iget-object v1, v1, Lcom/wqmobile/sdk/protocol/d;->i:Lcom/wqmobile/sdk/protocol/a/a;

    invoke-virtual {v1}, Ljava/lang/Object;->notify()V

    monitor-exit v0
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    :cond_2
    :goto_0
    return-void

    :catchall_0
    move-exception v1

    :try_start_2
    monitor-exit v0

    throw v1
    :try_end_2
    .catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_0

    :catch_0
    move-exception v0

    invoke-static {v0}, Lcom/wqmobile/sdk/protocol/cmd/b;->a(Ljava/lang/Exception;)V

    goto :goto_0
.end method
